package com.irs.service;

import com.irs.pojo.ArticleSearch;
import com.irs.pojo.TbArticle;
import com.irs.util.ResultUtil;



public interface ArticleService  {
	//新增文章
	int insService(TbArticle tbArticle);
	
	//查询文章列表
	public ResultUtil selArticle(Integer page, Integer limit,ArticleSearch search);
	
	//根据id查询
	public TbArticle selArticleById(String id);
	
	//根据id删除
	public void deleteById(String id);
	
	//根据id修改文章
	public int updateById(TbArticle tbArticle);
	
	//批量删除文章
	public boolean deleteAll(String id);
}
